﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BI.CF.PageList;
using BI.CF.Model;
using BI.CF.IDAL;
using BI.CF.Factory;

namespace BI.CF.BLL
{
   public  class InvestGuanLiBLL
    {
       static CF_Factory sql = CF_Factory.DataBaseType();
       InvestGuanLi_IDAL IDal = sql.InvestGuanLiIDAL_Factory();
       /// <summary>
       /// 显示投标中的借款
       /// </summary>
       /// <param name="pagesize"></param>
       /// <param name="pageindex"></param>
       /// <returns></returns>
       public Pager<MemloanADNMinvest> Invest_Show_ing(int pagesize, int pageindex, int userid)
       {
           return IDal.Invest_Show_ing(pagesize,pageindex,userid);
       }
       /// <summary>
       /// 显示成功投标
       /// </summary>
       /// <param name="TouBiaoStarTime"></param>
       /// <param name="TouBiaoEndTimie"></param>
       /// <param name="UserID"></param>
       /// <param name="PageIndex"></param>
       /// <param name="PageSize"></param>
       /// <returns></returns>
       public Pager<MemloanADNMinvest> ChengGnong_Show(DateTime TouBiaoStarTime, DateTime TouBiaoEndTimie, int UserID, int PageIndex, int PageSize)
       {
           return IDal.ChengGnong_Show(TouBiaoStarTime, TouBiaoEndTimie, UserID, PageIndex, PageSize);
       }
       /// <summary>
       /// 收款明细
       /// </summary>
       /// <param name="PageIndex"></param>
       /// <param name="PageSize"></param>
       /// <param name="UserID"></param>
       /// <returns></returns>
       public Pager<ProfitModel> ShouYi_MingXi(int PageIndex, int PageSize, int UserID)
       {
           return IDal.ShouYi_MingXi(PageIndex, PageSize, UserID);
       }
    }
}
